package cn.tedu.cinema.member.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Member {
    @ApiModelProperty(value = "会员id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "会员等级")
    private String memberLevel;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    private Date registrationDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "过期时间")
    private Date expirationDate;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "折扣")
    private Double discount;
}
